Skip to contentSkip to conversation

Grand Ages: Medieval crashes instantly

Bug 100390 [email protected] 1 participant 11 messages Mar 25, 2017 – Sep 15, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=100390

Bug ID: 100390
Summary: [steam] Grand Ages: Medieval crashes instantly
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 130451
--> https://bugs.freedesktop.org/attachment.cgi?id=130451&action=edit
crashlog

The Steam game Grand Ages:Medieval crashes instantly after startup.

Please tell me what further information you need, this is my first bug report.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=100390

--- Comment #1 from Christoph Berliner <[email protected]> --- Created attachment 130452
--> https://bugs.freedesktop.org/attachment.cgi?id=130452&action=edit
crashdump

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100390

--- Comment #2 from Christoph Berliner <[email protected]> --- Created attachment 130453
--> https://bugs.freedesktop.org/attachment.cgi?id=130453&action=edit
glxinfo

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100390

--- Comment #3 from Christoph Berliner <[email protected]> --- *** Bug 100388 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100390

--- Comment #4 from Christoph Berliner <[email protected]> --- Created attachment 130454
--> https://bugs.freedesktop.org/attachment.cgi?id=130454&action=edit
basic system information

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100390

--- Comment #5 from Christoph Berliner <[email protected]> --- And probably a similar problem described in the steam community:

http://steamcommunity.com/app/221410/discussions/0/540743757387624740/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100390

--- Comment #6 from Samuel Pitoiset <[email protected]> --- The game requests a 4.1 compatibility profile which is unsupported by Mesa and it crashes because it doesn't check the return value of glXCreateContextAttribsARB.

I'm investigating in order to know if it's possible to add a driconf option, but it looks like the game really needs some unsupported features.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100390

--- Comment #7 from Samuel Pitoiset <[email protected]> --- Okay, the game uses ARB_texture_buffer_object which is only exposed with a core profile for some reasons. I'm able to run the game with some hacky changes but it fails to render correctly at some point.

Unfortunately, I don't think we can do anything for it because compat >= 3.1 is not supported for now (and probably won't be in the near future).

Anyways, the game should not crash when the returned context is NULL.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100390

--- Comment #8 from Christoph Berliner <[email protected]> --- That doesn't sound to bad, does it?
At least it looks like the problem could be isolated.

Thanks and I'm happily trying fixes as long they're not exhausting my capabilities.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Marek Olšák
#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100390

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Timothy Arceri <[email protected]> --- This game should now be playable using MESA_GL_VERSION_OVERRIDE=4.1COMPAT MESA_GLSL_VERSION_OVERRIDE=410 after the following commit:

commit e7a7b712fe81aac96eaae267ad6cb5444f02e7f6

Author: Timothy Arceri <[email protected]>
Date:   Tue May 8 10:35:40 2018 +1000

mesa: remove hard-coded OpenGL 3.2 compat limit

Just let validate_context_version() do it instead. This fixes MESA_GL_VERSION_OVERRIDE for compat, it will also allow us to enable new compat versions on a per driver bases in future.

There are still bits missing in compat but the game seems playable with the overrides.

Since further work simply involves implementing compat profile I'm going to close this bug.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100390

--- Comment #10 from Christoph Berliner <[email protected]> --- Thank you all for your efforts. Problem solved.
I have tested the game today and its playable without any glitches using mesa 18.2 so far.

System and driver information:

System:    Host: home Kernel: 4.18.7-arch1-1-ARCH x86_64 bits: 64 Desktop:
Gnome 3.28.3 Distro: Antergos Linux 
Machine:   Type: Desktop Mobo: Gigabyte model: GA-78LMT-USB3 v: x.x serial:
<root required> BIOS: Award v: F4 
           date: 10/19/2012 
CPU:       8-Core: AMD FX-8350 type: MCP speed: 2109 MHz min/max: 1400/4000 MHz 
Graphics:  Card-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX

470/480/570/570X/580/580X]
driver: amdgpu v: kernel
Display: x11 server: X.Org 1.20.1 driver: modesetting resolution:
2560x1440~144Hz
OpenGL: renderer: AMD Radeon RX 480 Graphics (POLARIS10 DRM 3.26.0
4.18.7-arch1-1-ARCH LLVM 6.0.1)

           v: 4.5 Mesa 18.2.0 

Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel